home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3gmanag.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_GMANAGER_H = 1;
- include("oops/r3widget.js")
-
-
- var R3CLID_GMANAGER = 24;
-
-
-
-
- // Description: insert a new gadget to be slave
- // p3: Tag[], tag list containg at least R3GMA_Slave. Inherited classes might need more tags.
-
- R3GMM_INSERT = 24000;
-
- function mR3GMM_INSERT(p3) {
- Do(this.r3obj, 24000, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: remove a managed slave
- // p3: Tag[], tag list containg R3GMA_Slave.
-
- R3GMM_REMOVE = 24001;
-
- function mR3GMM_REMOVE(p3) {
- Do(this.r3obj, 24001, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Virtual method
-
- R3GMM_REALREFRESH = 24002;
-
- function mR3GMM_REALREFRESH() {
- DoA(this.r3obj, 24002, 0, R3TID_INTEGER, 0);
- }
-
-
- R3GMM_REFRESHDIRTY = 24003;
-
- function mR3GMM_REFRESHDIRTY() {
- DoA(this.r3obj, 24003, 0, R3TID_INTEGER, 0);
- }
-
- // Description: recursively enumerate all slaves. For each slave send a message to p1 like this: R3SendMsgA2(p1, p2,
- // slave, p3);
- // Virtual method
- // Returns: Boolean, TRUE if enumeration should continue, otherwise a value <= 0
- // p1: Object, Object to be sent a message to for each slave.
- // p2: Integer, Method to send to object.
- // p3: Object, private data to send as last param to object
-
- R3GMM_ENUMGADGETS = 24004;
-
- function mR3GMM_ENUMGADGETS(p1, p2, p3) {
- return DoA3(this.r3obj, 24004, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
-
- R3GMM_ISVISIBLE = 24005;
-
- function mR3GMM_ISVISIBLE() {
- DoA(this.r3obj, 24005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: changes the insert parameters of a slave
- // p3: Tag[], tag list containg at least R3GMA_Slave. Inherited classes might support more tags.
-
- R3GMM_SETINSERTPARAMS = 24006;
-
- function mR3GMM_SETINSERTPARAMS(p3) {
- Do(this.r3obj, 24006, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: gets the insert parameters of a slave
- // p3: Tag[], tag list containg at least R3GMA_Slave. Inherited classes might support more tags.
-
- R3GMM_GETINSERTPARAMS = 24007;
-
- function mR3GMM_GETINSERTPARAMS(p3) {
- Do(this.r3obj, 24007, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
-
-
-
- var R3GMA_Slave = 24500; // Object
- R3GMA_Stealth = 24502;
- function SetR3GMA_Stealth(value) {
- R3Set(this.r3obj, R3GMA_Stealth, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3GMA_Stealth() {
- return R3Get(this.r3obj, R3GMA_Stealth, R3TID_BOOLEAN, 0);
- }
-
- R3GMA_NoShrink = 24503;
- function SetR3GMA_NoShrink(value) {
- R3Set(this.r3obj, R3GMA_NoShrink, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GMA_NoShrink() {
- return R3Get(this.r3obj, R3GMA_NoShrink, R3TID_INTEGER, 0);
- }
-
- R3GMA_ShrinkIfLargerWidth = 24504;
- function SetR3GMA_ShrinkIfLargerWidth(value) {
- R3Set(this.r3obj, R3GMA_ShrinkIfLargerWidth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GMA_ShrinkIfLargerWidth() {
- return R3Get(this.r3obj, R3GMA_ShrinkIfLargerWidth, R3TID_INTEGER, 0);
- }
-
- R3GMA_ShrinkIfLargerHeight = 24505;
- function SetR3GMA_ShrinkIfLargerHeight(value) {
- R3Set(this.r3obj, R3GMA_ShrinkIfLargerHeight, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GMA_ShrinkIfLargerHeight() {
- return R3Get(this.r3obj, R3GMA_ShrinkIfLargerHeight, R3TID_INTEGER, 0);
- }
-
- R3GMA_ParentManager = 24506;
- function SetR3GMA_ParentManager(value) {
- R3Set(this.r3obj, R3GMA_ParentManager, value, R3TID_OBJECT, 0);
- }
-
- function GetR3GMA_ParentManager() {
- return R3ToJS(R3Get(this.r3obj, R3GMA_ParentManager, R3TID_OBJECT, 0));
- }
-
-
-
- function r3Gmanager () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_GMANAGER, arguments);
- }
- // Methods
- this.INSERT=mR3GMM_INSERT;
- this.REMOVE=mR3GMM_REMOVE;
- this.REALREFRESH=mR3GMM_REALREFRESH;
- this.REFRESHDIRTY=mR3GMM_REFRESHDIRTY;
- this.ENUMGADGETS=mR3GMM_ENUMGADGETS;
- this.ISVISIBLE=mR3GMM_ISVISIBLE;
- this.SETINSERTPARAMS=mR3GMM_SETINSERTPARAMS;
- this.GETINSERTPARAMS=mR3GMM_GETINSERTPARAMS;
-
- // Attributes
- this.GetStealth=GetR3GMA_Stealth;
- this.SetStealth=SetR3GMA_Stealth;
- this.GetNoShrink=GetR3GMA_NoShrink;
- this.SetNoShrink=SetR3GMA_NoShrink;
- this.GetShrinkIfLargerWidth=GetR3GMA_ShrinkIfLargerWidth;
- this.SetShrinkIfLargerWidth=SetR3GMA_ShrinkIfLargerWidth;
- this.GetShrinkIfLargerHeight=GetR3GMA_ShrinkIfLargerHeight;
- this.SetShrinkIfLargerHeight=SetR3GMA_ShrinkIfLargerHeight;
- this.GetParentManager=GetR3GMA_ParentManager;
- this.SetParentManager=SetR3GMA_ParentManager;
- }
-
- r3Gmanager.prototype=new r3Widget;
- // r3gmanag.h_H